Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

206
Views
Intento implementar mi contrato inteligente en truffle, pero dice "compilador no compatible" cuando "migro truffle", ¿cómo puedo solucionarlo?

PS D:\Projects\ANIS\Decentralized_Bank> compilación de trufas

Compilando sus contratos...

Compilando .\src\contracts\Migrations.sol Compilando .\src\contracts\Migrations.sol Compilando .\src\contracts\Tether.sol
Compilando .\src\contratos\Tether.sol
Artefactos escritos en D:\Projects\ANIS\Decentralized_Bank\src\truffle_abis Compilado correctamente usando:

  • solc: 0.5.16+commit.9c3226ce.Emscripten.clang

PS D:\Projects\ANIS\Decentralized_Bank> [Migración de trufas]

Compilando sus contratos...

Error: compilador no compatible: [objeto Objeto]

 at C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:28:1 at Array.map (<anonymous>) at compile (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:26:1) at Object.compile (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:68:47) at Object.compileAndSave (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:95:47) at Object.run (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\commands\migrate.js:199:1) at Command.run (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\command.js:183:1)

Trufa v5.4.11 (núcleo: 5.4.11) Nodo v14.17.2

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Mi error, este error ocurre porque escribí por error "compilador" en lugar de "compiladores" en el archivo truffle-config.js

Código correcto

compiladores:{ solc:{ versión: '^0.5.0', optimizador:{ habilitado: verdadero, ejecuta: 200 } } }

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!